From: Ian Campbell Date: Wed, 19 Dec 2012 14:16:23 +0000 (+0000) Subject: xen: arm: stub page_is_ram_type. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7500 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=214c4cd94a80bcaf042f25158eaa7d0e5bbc3b5b;p=xen.git xen: arm: stub page_is_ram_type. Callers are VT-d (so x86 specific) and various bits of page offlining support, which although it looks generic (and is in xen/common) does things like diving into page_info->count_info which is not generic. In any case on this is only reachable via XEN_SYSCTL_page_offline_op, which clearly shouldn't be called on ARM just yet. Signed-off-by: Ian Campbell Acked-by: Tim Deegan Acked-by: Stefano Stabellini Committed-by: Ian Campbell --- diff --git a/xen/arch/arm/dummy.S b/xen/arch/arm/dummy.S index 41c9af86f8..8303b0eee9 100644 --- a/xen/arch/arm/dummy.S +++ b/xen/arch/arm/dummy.S @@ -9,9 +9,6 @@ x: mov pc, lr /* PIRQ support */ DUMMY(nr_irqs_gsi); -/* Page Offlining */ -DUMMY(page_is_ram_type); - /* Other */ DUMMY(domain_get_maximum_gpfn); DUMMY(domain_relinquish_resources); diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 687eb55ff7..329b1d43cc 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -441,6 +441,12 @@ int steal_page( return -1; } +int page_is_ram_type(unsigned long mfn, unsigned long mem_type) +{ + ASSERT(0); + return 0; +} + void share_xen_page_with_guest(struct page_info *page, struct domain *d, int readonly) {